﻿@using MvcDemo.Controllers
@model IEnumerable<Student>
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>five</title>
</head>
<body>
    <div> 
        <ul>
            @*//@foreach (Student student in (ViewBag.List as IEnumerable<Student>))*@
            @foreach (Student student in ViewBag.List )
            {
                <li>@student.Name , @student.Age</li>
            }
        </ul>
    </div>
</body>
</html>
